.shopDecoration {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #F2F3F8;
  ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
  .coms-lib-wrap {
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    bottom: 0;
    background: #fff;
    border-left: 1px solid #ebedf0;
    .coms-lib {
      padding: 0 12px;
      .coms-lib-tab {
        margin-top: 22px;
        width: 100%;
        min-height: 30px;
        line-height: 30px;
        position: relative;
        color: #555;
        cursor: pointer;
      }
      .com-list {
        user-select: none;
        max-height: 1000px;
        opacity: 1;
        margin: 0 auto;
        padding: 1px;
        width: 160px;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        .com-item {
          position: relative;
          text-align: center;
          display: inline-block;
          width: 50%;
          height: 88px;
          font-size: 12px;
          margin-bottom: 8px;
          cursor: move;
          &:hover {
            background: #155bd4;
            .com-item__name {
              color: #fff;
            }
            .com-item__num {
              color: #fff;
            }
            .com-item__icon {
              background-position: 0 -32px;
            }
          }
          .com-item__icon {
            display: inline-block;
            margin-top: 8px;
            background-position: 0 0;
            height: 32px;
            width: 32px;
            background-size: cover;
          }
          .com-item__name {
            color: #323233;
            line-height: 16px;
            margin-top: 4px;
          }
          .com-item__num {
            color: #7d7e80;
            line-height: 16px;
            margin-top: 4px;
          }
        }
      }
    }
    .coms-lib-active {
      .com-list {
        max-height: 0;
        opacity: 0;
      }
      .arrow {
        transform: rotate(-90deg);
      }
    }
  }
  .preview-wrap {
    position: absolute;
    top: 0;
    left: 185px;
    right: 375px;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    .preview {
      width: 375px;
      position: absolute;
      left: 50%;
      top: 6%;
      margin-left: -190px;
      margin-bottom: 50px;
      background: #fff;
      box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.1);
      .preview-head {
        background-image: url(./assets/minihead.png);
        height: 64px;
        width: 375px;
        margin: 0 auto;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 50%;
        position: relative;
        .preview-header-title {
          width: 180px;
          margin: 0 auto;
          height: 34px;
          text-align: center;
          padding-top: 30px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          user-select: none;
        }
      }
    }
    .preview-height-tag {
      position: absolute;
      left: -130px;
      top: 642px;
      width: 130px;
      display: flex;
      color: #a2a2a2;
      border-bottom: 1px solid #dedede;
      .preview-height-tag-text {
        padding-top: 4px;
        font-size: 12px;
      }
    }
    .preview-footer {
      height: 64px;
      background: white;
      text-align: center;
      .copyright {
        font-size: 14px;
        color: rgba(153, 153, 153, 1);
        line-height: 64px;
      }
    }
    .preview-page {
      position: fixed;
      top: 100px;
      right: 400px;
      text-align: center;
      font-size: 12px;
      color: #323233;
      z-index: 1;
      .preview-page-options,
      .preview-page-coms {
        background-color: #fff;
        box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
        border-radius: 2px;
        width: 94px;
        height: 32px;
        line-height: 32px;
        margin-bottom: 12px;
        cursor: pointer;
      }
      .preview-page-options-active {
        background-color: #155bd4;
        color: #fff;
      }
    }
    .preview-iframe-wrap {
      min-height: 603px;
      & > ul {
        min-height: 603px !important;
      }
    }
    .flip-list-move {
      transition: transform 0.5s;
    }
    .no-move {
      transition: transform 0s;
    }
    .list-group-item {
      box-sizing: border-box;
      position: relative;
      &:hover::before {
        border: 1px dashed #155bd4;
        content: '';
        position: absolute;
        width: 377px;
        height: 100%;
        left: -1px;
        top: 0;
        box-sizing: border-box;
        z-index: 99;
        cursor: move;
      }
      &:hover {
        .deleteBtn {
          display: block;
        }
        .widget-name {
          display: none;
        }
      }
      .widget-name {
        position: absolute;
        top: 0;
        right: -72px;
        line-height: 28px;
        text-align: center;
        background: white;
        cursor: pointer;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
        text-align: center;
        width: 66px;
        .widget-name__arrow-out {
          width: 0;
          height: 0;
          border: 5px solid transparent;
          border-right-color: #fff;
          position: absolute;
          bottom: 7px;
          left: -10px;
        }
      }
      .deleteBtn {
        display: none;
        position: absolute;
        top: 0;
        right: -40px;
        width: 40px;
        line-height: 28px;
        text-align: center;
        background: white;
        cursor: pointer;
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
      }
      &.active::before {
        content: '';
        position: absolute;
        width: 379px;
        height: 100%;
        left: -2px;
        top: 0;
        box-sizing: border-box;
        border: 2px solid #155bd4;
        z-index: 99;
        cursor: move;
      }
    }
  }
  .decorate-editor-wrap {
    width: 380px;
    position: absolute;
    padding-bottom: 100px;
    top: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
    bottom: 0;
    background: #fff;
    .deco-component-title {
      padding: 20px 16px;
      border-bottom: 1px solid #f2f4f6;
    }
    .deco-component-title__name {
      margin-right: auto;
      font-size: 18px;
      font-weight: 600;
      line-height: 24px;
      color: #323233;
      text-align: left;
    }
    .deco-component-title__msg {
      margin-top: 12px;
      font-size: 12px;
      line-height: 20px;
      color: #969799;
    }
  }
  .handle-wrap{
    position: absolute;
    top: -48px;
    right: 160px;
    z-index: 2;
  }
}
